package com.hkemmm.shop.service.impl;

import com.hkemmm.shop.dao.CitiesMapper;
import com.hkemmm.shop.entity.Cities;
import com.hkemmm.shop.service.ICityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CityService implements ICityService {
    @Autowired
    private CitiesMapper citiesMapper;

    @Override
    public Cities selectByPrimaryKey(Integer id) {
        return citiesMapper.selectByPrimaryKey(id);
    }

    @Override
    public Cities selectCity(String cid) {
        return citiesMapper.selectCity(cid);
    }
}
